import request from "@/utils/request";

export function createStoreSetting(data) {
  return request({
    url: "/sys/storesetting/create",
    method: "post",
    data: data
  });
}

export function getStoreSetting(id) {
  return request({
    url: "/sys/storesetting/" + id,
    method: "get"
  });
}

export function updateStoreSetting(id, data) {
  return request({
    url: "/sys/storesetting/update/" + id,
    method: "post",
    data: data
  });
}
